home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{32655CFB-5D17-11D2-8579-0000B45BA472}#4.0#0"; "FormResizeOcx.ocx"
- Begin VB.Form FrmTestBas
- BorderStyle = 0 'None
- Caption = "Form1"
- ClientHeight = 9000
- ClientLeft = 2385
- ClientTop = 1440
- ClientWidth = 11220
- LinkTopic = "Form1"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 9000
- ScaleWidth = 11220
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton Command3
- Caption = "PoliLine"
- Height = 555
- Left = 4380
- TabIndex = 3
- Top = 180
- Width = 1455
- End
- Begin VB.CommandButton Command2
- Caption = "Rectangular"
- Height = 555
- Left = 2400
- TabIndex = 2
- Top = 180
- Width = 1455
- End
- Begin VB.CommandButton Command1
- Caption = "Elliptic"
- Height = 555
- Left = 480
- TabIndex = 0
- Top = 180
- Width = 1455
- End
- Begin VB.PictureBox Picture1
- AutoSize = -1 'True
- Height = 10560
- Left = 0
- ScaleHeight = 10500
- ScaleWidth = 10500
- TabIndex = 1
- ToolTipText = "Click to exit"
- Top = 0
- Width = 10560
- Begin FormResizeOcx.FormRsz FormRsz1
- Left = 780
- Top = 2040
- _ExtentX = 1429
- _ExtentY = 1270
- End
- End
- Attribute VB_Name = "FrmTestBas"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- With Me
- FormRsz1.EllipTic .hWnd, 0, 0, .Width, .Height
- End With
- End Sub
- Private Sub Command2_Click()
- With Me
- FormRsz1.Square .hWnd, 0, 0, .Width - 500, .Height - 500
- End With
- End Sub
- Private Sub Command3_Click()
- 'In this sample we have two data file so we have to call two times
- 'the data filling
- FillData1 'Dati_1.bas
- FillData2 'Dati_2.bas
- FillData3 'Dati_3.bas
- FillData4 'Dati_4.bas
- 'Adjust the Image
- FormRsz1.ShiftX = 1
- FormRsz1.ShiftY = 2
- 'Display it
- With Me
- FormRsz1.PoliLine .hWnd, D, NumDataPoints
- End With
- End Sub
- Private Sub Form_Load()
- Picture1.Picture = LoadPicture(App.Path + "\" + "MyHeart1.bmp")
- End Sub
- Private Sub Form_Paint()
- Height = Picture1.Height
- Width = Picture1.Width
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- 'Cancel = True
- End Sub
- Private Sub Picture1_Click()
- Unload Me
- End Sub
-